package com.ruoyi.lession.entily;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_lesson")
public class Lesson {

  private Long id;
  private String name;
  private String video;
  private String note;
  private String athuor;
  private Date creattime;
  private Date endtime;
  private Integer status;
  private String del;
  private Integer price;

  @Override
  public String toString() {
    return "Lesson{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", video='" + video + '\'' +
            ", note='" + note + '\'' +
            ", athuor='" + athuor + '\'' +
            ", creattime=" + creattime +
            ", endtime=" + endtime +
            ", status=" + status +
            ", del='" + del + '\'' +
            ", price=" + price +
            '}';
  }
}
